package com.bto.solar.work.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * <p>
 * 进件信息
 * </p>
 *
 * @author adrian
 * @since 2023-08-28
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("lease_prj_project")
@ApiModel(value = "LeasePrjProject对象", description = "进件信息")
public class LeasePrjProject implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("合作方/厂商")
    private String manufacturerReno;

    @ApiModelProperty("运维方")
    private String factoryReno;

    @ApiModelProperty("出卖人")
    private String sellerReno;

    @ApiModelProperty("商业模式[40：经营租赁；50：合作共建]")
    private String leaseChannel;

    @ApiModelProperty("单据类型[OPERATING_LEASE：经营租赁；JOINT_CONSTRUCTION：合作共建]")
    private String documentType;

    @ApiModelProperty("业务模式")
    private String division;

    @ApiModelProperty("付款对象")
    private String paymentBpType;

    @ApiModelProperty("预计投放日，多少天后")
    private String leaseDate;

    @ApiModelProperty("保险购买情况[1：控制投放及续保；2：控制投放；3：其他]")
    private String insuranceFlag;

    @TableField(fill = FieldFill.INSERT)
    private Timestamp createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Timestamp updateTime;
}
